<h2 mat-dialog-title>{{ data ? '编辑学生' : '新增学生' }}</h2>
<form>
    <div mat-dialog-content>
        <mat-form-field appearance="outline" class="form-field">
            <mat-label>姓名</mat-label>
            <input matInput formControlName="name" type="text" placeholder="请输入学生姓名">
            
        </mat-form-field>
    </div>

</form>
